package com.tr.ssocms.service;

import com.tr.common.bo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("SysService")
public interface RemoteUserService {
    /**
     * 远程调用member
     */
    @GetMapping("/user/queryByUserName")
    public User queryByUserName(@RequestParam("userName") String userName);
}
